-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cake tools #2293
Update cake tools #2293
Conversation
martincostello
commented
Sep 17, 2024
•
edited
Loading
edited
- Bump xunit.runner.console to 2.9.2.
- Bump dotnet-stryker to 4.3.0.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2293 +/- ##
==========================================
- Coverage 85.40% 85.37% -0.03%
==========================================
Files 313 313
Lines 7467 7467
Branches 1126 1125 -1
==========================================
- Hits 6377 6375 -2
- Misses 745 746 +1
- Partials 345 346 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Needs more mutants. |
@@ -61,8 +61,7 @@ internal AddResiliencePipelineContext(ConfigureBuilderContext<TKey> registryCont | |||
public TOptions GetOptions<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] TOptions>(string? name = null) | |||
{ | |||
var monitor = ServiceProvider.GetRequiredService<IOptionsMonitor<TOptions>>(); | |||
|
|||
return name == null ? monitor.CurrentValue : monitor.Get(name); | |||
return monitor.Get(name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Effectively duplicates the implementation the way it was.
- Bump xunit.runner.console to 2.9.2. - Bump dotnet-stryker to 4.2.0. - Remove redundant branch because when the key is null it uses the default key, which is what `CurrentValue` does anyway. - Assert that the correct options instance is retrieved. - Explicitly pass the configuration to stryker.
1ffaf0b
to
2aec83a
Compare
Update to 4.3.0 which hopefully fixes the issues observed.
@joelhulen Just noticed that |